/**
 * 系统设置
 */
import Layout from "@/layout";
export default [
  {
    path: "/system-setup",
    component: Layout,
    redirect: "/system-setup/building",
    name: "SystemSetup",
    meta: {
      title: "系统设置",
      icon: "el-icon-setting",
    },
    children: [
      {
        path: "building",
        component: () => import("@/views/system-setup/building"), // Parent router-view
        name: "Building",
        meta: { title: "栋舍管理" },
      },
      {
        path: "role-management",
        component: () => import("@/views/system-setup/role-management"),
        name: "RoleManagement",
        meta: { title: "角色管理" },
      },
      {
        path: "user-management",
        component: () => import("@/views/system-setup/user-management"),
        name: "UserManagement",
        meta: { title: "用户管理" },
      },
      {
        path: "list-management",
        component: () => import("@/views/system-setup/list-management"), // Parent router-view
        name: "ListManagement",
        meta: { title: "菜单管理" },
      },
    ],
  },
];
